/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package ar.uba.fi.rsajapplet.view;

/**
 *
 * @author marcelo
 */
public class EvaluationInteractionPanel extends javax.swing.JPanel {

    /**
     * Creates new form EvaluationInteractionPanel
     */
    public EvaluationInteractionPanel() {
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        stepDescriptionPanel = new javax.swing.JPanel();
        coprimeButton = new javax.swing.JButton();
        fromASCIIButton = new javax.swing.JButton();
        primeButton = new javax.swing.JButton();
        toASCIIButton = new javax.swing.JButton();
        resultTextField = new javax.swing.JTextField();
        multiplicativeInverseButton = new javax.swing.JButton();
        modButton = new javax.swing.JButton();
        expButton = new javax.swing.JButton();
        equalsButton = new javax.swing.JButton();
        multiplyButton = new javax.swing.JButton();
        divideButton = new javax.swing.JButton();
        plusButton = new javax.swing.JButton();
        minusButton = new javax.swing.JButton();
        stepOperationPanel = new javax.swing.JPanel();
        stepOperationValue = new javax.swing.JTextField();
        stepOperationLabel = new javax.swing.JLabel();
        errorMessageIcon = new javax.swing.JLabel();

        coprimeButton.setFont(new java.awt.Font("Ubuntu", 0, 10)); // NOI18N
        coprimeButton.setText("Coprimo");
        coprimeButton.setMaximumSize(new java.awt.Dimension(18, 20));
        coprimeButton.setMinimumSize(new java.awt.Dimension(18, 20));
        coprimeButton.setPreferredSize(new java.awt.Dimension(18, 20));

        fromASCIIButton.setFont(new java.awt.Font("Ubuntu", 0, 10)); // NOI18N
        fromASCIIButton.setText("de ASCII");
        fromASCIIButton.setMaximumSize(new java.awt.Dimension(18, 20));
        fromASCIIButton.setMinimumSize(new java.awt.Dimension(18, 20));
        fromASCIIButton.setPreferredSize(new java.awt.Dimension(18, 20));

        primeButton.setFont(new java.awt.Font("Ubuntu", 0, 10)); // NOI18N
        primeButton.setText("Primo");
        primeButton.setMaximumSize(new java.awt.Dimension(18, 20));
        primeButton.setMinimumSize(new java.awt.Dimension(18, 20));
        primeButton.setPreferredSize(new java.awt.Dimension(18, 20));

        toASCIIButton.setFont(new java.awt.Font("Ubuntu", 0, 10)); // NOI18N
        toASCIIButton.setText("a ASCII");
        toASCIIButton.setMaximumSize(new java.awt.Dimension(18, 20));
        toASCIIButton.setMinimumSize(new java.awt.Dimension(18, 20));
        toASCIIButton.setPreferredSize(new java.awt.Dimension(18, 20));

        resultTextField.setMaximumSize(new java.awt.Dimension(16, 26));

        multiplicativeInverseButton.setFont(new java.awt.Font("Ubuntu", 0, 10)); // NOI18N
        multiplicativeInverseButton.setText("Inv Mult");
        multiplicativeInverseButton.setMaximumSize(new java.awt.Dimension(18, 20));
        multiplicativeInverseButton.setMinimumSize(new java.awt.Dimension(18, 20));
        multiplicativeInverseButton.setPreferredSize(new java.awt.Dimension(18, 20));

        modButton.setFont(new java.awt.Font("Ubuntu", 0, 10)); // NOI18N
        modButton.setText("Mod");
        modButton.setMaximumSize(new java.awt.Dimension(18, 20));
        modButton.setMinimumSize(new java.awt.Dimension(18, 20));
        modButton.setPreferredSize(new java.awt.Dimension(18, 20));

        expButton.setFont(new java.awt.Font("Ubuntu", 0, 10)); // NOI18N
        expButton.setText("exp");
        expButton.setMaximumSize(new java.awt.Dimension(18, 20));
        expButton.setMinimumSize(new java.awt.Dimension(18, 20));
        expButton.setPreferredSize(new java.awt.Dimension(18, 20));

        equalsButton.setFont(new java.awt.Font("Ubuntu", 0, 10)); // NOI18N
        equalsButton.setText("=");
        equalsButton.setMaximumSize(new java.awt.Dimension(18, 20));
        equalsButton.setMinimumSize(new java.awt.Dimension(18, 20));
        equalsButton.setPreferredSize(new java.awt.Dimension(18, 20));

        multiplyButton.setFont(new java.awt.Font("Ubuntu", 0, 10)); // NOI18N
        multiplyButton.setText("*");
        multiplyButton.setMaximumSize(new java.awt.Dimension(18, 20));
        multiplyButton.setMinimumSize(new java.awt.Dimension(18, 20));
        multiplyButton.setPreferredSize(new java.awt.Dimension(18, 20));

        divideButton.setFont(new java.awt.Font("Ubuntu", 0, 10)); // NOI18N
        divideButton.setText("/");
        divideButton.setMaximumSize(new java.awt.Dimension(18, 20));
        divideButton.setMinimumSize(new java.awt.Dimension(18, 20));
        divideButton.setPreferredSize(new java.awt.Dimension(18, 20));

        plusButton.setFont(new java.awt.Font("Ubuntu", 0, 10)); // NOI18N
        plusButton.setText("+");
        plusButton.setMaximumSize(new java.awt.Dimension(18, 20));
        plusButton.setMinimumSize(new java.awt.Dimension(18, 20));
        plusButton.setPreferredSize(new java.awt.Dimension(18, 20));

        minusButton.setFont(new java.awt.Font("Ubuntu", 0, 10)); // NOI18N
        minusButton.setText("-");
        minusButton.setMaximumSize(new java.awt.Dimension(18, 20));
        minusButton.setMinimumSize(new java.awt.Dimension(18, 20));
        minusButton.setPreferredSize(new java.awt.Dimension(18, 20));

        javax.swing.GroupLayout stepDescriptionPanelLayout = new javax.swing.GroupLayout(stepDescriptionPanel);
        stepDescriptionPanel.setLayout(stepDescriptionPanelLayout);
        stepDescriptionPanelLayout.setHorizontalGroup(
            stepDescriptionPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(stepDescriptionPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(stepDescriptionPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(resultTextField, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addGroup(stepDescriptionPanelLayout.createSequentialGroup()
                        .addGroup(stepDescriptionPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(multiplyButton, javax.swing.GroupLayout.DEFAULT_SIZE, 65, Short.MAX_VALUE)
                            .addComponent(divideButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(plusButton, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(minusButton, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(stepDescriptionPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(coprimeButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(fromASCIIButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(primeButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(toASCIIButton, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(stepDescriptionPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(modButton, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(multiplicativeInverseButton, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(expButton, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(equalsButton, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE))))
                .addContainerGap())
        );
        stepDescriptionPanelLayout.setVerticalGroup(
            stepDescriptionPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(stepDescriptionPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(resultTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(stepDescriptionPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(primeButton, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(multiplicativeInverseButton, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(plusButton, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(stepDescriptionPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(coprimeButton, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(modButton, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(minusButton, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(stepDescriptionPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(toASCIIButton, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(expButton, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(multiplyButton, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(stepDescriptionPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(fromASCIIButton, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(equalsButton, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(divideButton, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        stepOperationLabel.setFont(new java.awt.Font("Ubuntu", 1, 18)); // NOI18N
        stepOperationLabel.setText("p: número primo");

        errorMessageIcon.setIcon(new javax.swing.ImageIcon(getClass().getResource("/ar/uba/fi/rsajapplet/view/error.png"))); // NOI18N
        errorMessageIcon.setToolTipText("este es un mensaje de error");

        javax.swing.GroupLayout stepOperationPanelLayout = new javax.swing.GroupLayout(stepOperationPanel);
        stepOperationPanel.setLayout(stepOperationPanelLayout);
        stepOperationPanelLayout.setHorizontalGroup(
            stepOperationPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, stepOperationPanelLayout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(stepOperationPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(errorMessageIcon)
                    .addComponent(stepOperationLabel)
                    .addComponent(stepOperationValue, javax.swing.GroupLayout.PREFERRED_SIZE, 255, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(31, 31, 31))
        );
        stepOperationPanelLayout.setVerticalGroup(
            stepOperationPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(stepOperationPanelLayout.createSequentialGroup()
                .addGap(18, 18, 18)
                .addComponent(stepOperationLabel)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(stepOperationValue, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(errorMessageIcon)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(47, 47, 47)
                .addComponent(stepDescriptionPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, Short.MAX_VALUE)
                .addComponent(stepOperationPanel, javax.swing.GroupLayout.PREFERRED_SIZE, 278, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(stepDescriptionPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addComponent(stepOperationPanel, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
    }// </editor-fold>//GEN-END:initComponents


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton coprimeButton;
    private javax.swing.JButton divideButton;
    private javax.swing.JButton equalsButton;
    private javax.swing.JLabel errorMessageIcon;
    private javax.swing.JButton expButton;
    private javax.swing.JButton fromASCIIButton;
    private javax.swing.JButton minusButton;
    private javax.swing.JButton modButton;
    private javax.swing.JButton multiplicativeInverseButton;
    private javax.swing.JButton multiplyButton;
    private javax.swing.JButton plusButton;
    private javax.swing.JButton primeButton;
    private javax.swing.JTextField resultTextField;
    private javax.swing.JPanel stepDescriptionPanel;
    private javax.swing.JLabel stepOperationLabel;
    private javax.swing.JPanel stepOperationPanel;
    private javax.swing.JTextField stepOperationValue;
    private javax.swing.JButton toASCIIButton;
    // End of variables declaration//GEN-END:variables
}
